Fix tracking visibility in ERC.
authorJulien Danjou <julien@danjou.info>
Wed, 9 Feb 2011 04:08:25 +0000 (23:08 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 9 Feb 2011 04:08:25 +0000 (23:08 -0500)
commit391de97a758c44e5d38e0c8f0bd50fe5eae09d5f
treea071294d19b50b1207f27654ffd9857d8d4361ab
parent502d95538368abdbfb7bd621337cefbd38aa6b3e
Fix tracking visibility in ERC.

* lisp/erc/erc-track.el (erc-window-configuration-change): New function.
This will allow to track buffer visibility when a command is
finished to executed.  Idea stolen from rcirc.
(track): Put erc-window-configuration-change in
window-configuration-change-hook.
(erc-modified-channels-update): Remove
erc-modified-channels-update from post-command-hook after update.
lisp/erc/ChangeLog
lisp/erc/erc-track.el